{layout name="admin:layout" /}
<form id="form" action="{:url('system/admin.member/add')}">
<input type="hidden" name="__token__" value="{$Request.token}" />
<table class="formtable">
    <tr>
        <th>昵称:</th>
        <td><input class="input" type="text" name="username" value="" /></td>
    </tr>
    <tr>
        <th>手机号:</th>
        <td><input ="{:url('system/admin.member/isphone')}" datatype="m" class="input" type="text" name="phone" /></td>
    </tr>
    <tr>
        <th>密码:</th>
        <td><input class="input" type="text" name="password" /></td>
    </tr>
    <tr>
        <th>验证密码:</th>
        <td><input placeholder="请输入验证密码" errormsg="验证密码不一致" datatype="*" recheck="password" class="input" type="password" name="repassword" /></td>
    </tr>
    <tr>
        <th></th>
        <td>
            <input type="submit" value="确定" class="button button-blue submit" />
            <input type="reset" value="重置" class="button" />
        </td>
    </tr>
</table>
</form>
</div>
<script type="text/javascript">
    Do('base', 'layer', 'form', function () {
        $('#form').isForm();
    });
</script>